﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="NewDataSet" targetNamespace="http://www.w3.org/2005/Atom" xmlns:mstns="http://www.w3.org/2005/Atom" xmlns="http://www.w3.org/2005/Atom" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata" attributeFormDefault="qualified" elementFormDefault="qualified" xmlns:app1="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:app2="http://schemas.google.com/g/2005">
  <xs:import namespace="http://a9.com/-/spec/opensearchrss/1.0/" schemaLocation="temp_app1.xsd" />
  <xs:import namespace="http://schemas.google.com/g/2005" schemaLocation="temp_app2.xsd" />
  <xs:element name="category">
    <xs:complexType>
      <xs:attribute name="scheme" form="unqualified" type="xs:string" />
      <xs:attribute name="term" form="unqualified" type="xs:string" />
    </xs:complexType>
  </xs:element>
  
  <xs:element name="link">
    <xs:complexType>
      <xs:attribute name="rel" form="unqualified" type="xs:string" />
      <xs:attribute name="type" form="unqualified" type="xs:string" />
      <xs:attribute name="href" form="unqualified" type="xs:string" />
    </xs:complexType>
  </xs:element>
  <xs:element name="feed">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="id" type="xs:string" minOccurs="0" />
        <xs:element name="updated" type="xs:dateTime" minOccurs="0" />
        <xs:element ref="app1:totalResults" minOccurs="0" />
        <xs:element ref="app1:startIndex" minOccurs="0" />
        <xs:element ref="app1:itemsPerPage" minOccurs="0" />
        <xs:element ref="category" minOccurs="0" maxOccurs="unbounded"/>
        <xs:element name="title" type="xs:string"  />
        <xs:element ref="link" minOccurs="0" maxOccurs="unbounded" />
        <xs:element name="author">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="name" type="xs:string" minOccurs="0" />
              <xs:element name="email" type="xs:string" minOccurs="0" />
            </xs:sequence>
          </xs:complexType>
        </xs:element>
        <xs:element name="generator">
          <xs:complexType>
            <xs:simpleContent msdata:ColumnName="generator_Text" msdata:Ordinal="2">
              <xs:extension base="xs:string">
                <xs:attribute name="version" form="unqualified" type="xs:string" />
                <xs:attribute name="uri" form="unqualified" type="xs:string" />
              </xs:extension>
            </xs:simpleContent>
          </xs:complexType>
        </xs:element>
        <xs:element name="entry" minOccurs="0" maxOccurs="unbounded">
          <xs:complexType>
            <xs:sequence>
              <xs:element name="id" type="xs:string" minOccurs="0" />
              <xs:element name="updated" type="xs:dateTime" minOccurs="0" />
              <xs:element ref="app2:deleted" minOccurs="0" />
              <xs:element ref="category" minOccurs="0" maxOccurs="unbounded" />
              <xs:element name="title" type="xs:string"  />
              <xs:element name="content" >
                <xs:complexType>
                  <xs:simpleContent msdata:ColumnName="content_Text" msdata:Ordinal="1">
                    <xs:extension base="xs:string">
                      <xs:attribute name="type" form="unqualified" type="xs:string" />
                    </xs:extension>
                  </xs:simpleContent>
                </xs:complexType>
              </xs:element>
              <xs:element ref="link" minOccurs="0" maxOccurs="unbounded" />
              <xs:element ref="app2:organization" maxOccurs="unbounded"/>
              <xs:element ref="app2:email" maxOccurs="unbounded" />
              <xs:element ref="app2:im" maxOccurs="unbounded" />
              <xs:element ref="app2:phoneNumber" maxOccurs="unbounded"/>
              <xs:element ref="app2:postalAddress" maxOccurs="unbounded"/>
            </xs:sequence>
          </xs:complexType>
        </xs:element>
      </xs:sequence>
    </xs:complexType>
  </xs:element>

</xs:schema>